package com.qianduo.dao;

import java.util.List;

import com.qianduo.exception.DaoException;
import com.qianduo.po.QianduoAgency;
import common.page.PageList;

public interface IQianduoAgencyDao{
	public void saveOrUpdateAgency(QianduoAgency po) throws DaoException;
	
	public List<QianduoAgency> listAgency(Integer id,String username,Integer type,String name,String phone,Integer isCert,Integer IsBusinessLicense,Integer dutyCert,Integer cityID,String companyName,String productType,Integer times,String createDateStart,String createDateEnd,PageList pageList) throws DaoException;
	public QianduoAgency getAgencyByUser(String username) throws DaoException;

}
